package com.ycg.blog.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ycg.blog.pojo.WebInfo;
import com.ycg.blog.service.WebInfoService;
import com.ycg.blog.mapper.WebInfoMapper;
import org.springframework.stereotype.Service;

/**
* @author lenovo
* @description 针对表【blog_info(网站信息表)】的数据库操作Service实现
* @createDate 2024-03-14 18:51:42
*/
@Service
public class WebInfoServiceImpl extends ServiceImpl<WebInfoMapper, WebInfo>
    implements WebInfoService{

    /**
     * 获取最后一条记录
     * @return
     */
    @Override
    public WebInfo getLast() {
        return getBaseMapper().getLast();
    }
}




